$(document).ready(function(){
	if(hoverEffect){
		$('<style>#wrapper div:hover{border: 1px #fff solid;box-shadow: 0px 0px 5px #fff;margin-left:4px;margin-top:4px;}</style>').appendTo('head');
	};
	
	if(searchEngine=='google'){
		search='http://www.google.com/search';
	}
	else if(searchEngine=='bing'){
		search='http://www.bing.com/search';
	}
	else if(searchEngine=='yahoo'){
		search='http://search.yahoo.com/bin/search';
	}
	else{
		search='http://www.google.com/search';
		searchEngine='google';
	};

	$('form').attr('action',search);
	$('input').attr('placeholder',searchEngine+' search');
	
	var i=0;
	for(i=0;i<=11;i++){								
		var title = bookmark[i]['title'];
		var url = bookmark[i]['url'];
		var thumb = bookmark[i]['thumb'];
		$('#thumb'+(i+1)).html('<a href="'+url+'"><img src="thumbs/'+thumb+'" /></a>');
	};
});